<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>GQM+S Tool</title>
</h:head>

<h:body style="background-color:#DBDBEE;">  
    <p:panel header="Authentication Required" style="width:410px;height:210px;text-align:left;margin:auto;">
	    <h:form>   
	     <p:growl id="logingrowl" showDetail="true" sticky="true" />  
	        <h:panelGrid columns="2">  
	            <h:outputText value="Username: *" /> 
	            <p:inputText id="usernameInputText" value="#{loginForm.username}" required="true" label="Username">
	            </p:inputText>
	           	<h:outputText value="Password: *" />   
	            <p:password id="passwordInputText" value="#{loginForm.password}" required="true" label="Password"/>
	        </h:panelGrid>  
	      	<br></br>
	       	<p:commandButton icon="ui-icon-unlocked" value="Login" action="#{loginForm.login()}" update="logingrowl"/>
	    </h:form>  
    </p:panel>    
</h:body>
</html>